//
//  YMCommentView.h
//  YMCommentDemo
//
//  Created by lantaiyuan on 2017/2/24.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    VehicleCommentTypeOverMiddleStation,
    VehicleCommentTypeCrowd,
    VehicleCommentTypeEmergency,
    VehicleCommentTypeDriver,
    VehicleCommentTypeClean,
    VehicleCommentTypeTemperature,
} VehicleCommentType;

typedef enum : NSUInteger {
    StationCommentTypeCrowd,
    StationCommentTypeFacility,
    StationCommentTypeEmergency,
    StationCommentTypeClean,
    StationCommentTypeActivity,
} StationCommentType;

typedef void(^CancelBtnActionBlock)();
typedef void(^SelectVehicleCommentItemBlock)(VehicleCommentType type);
typedef void(^SelectStationCommentItemBlock)(StationCommentType type);
@interface YMCommentView : UIView
@property (nonatomic, copy) CancelBtnActionBlock cancelBtnActionBlock;
@property (nonatomic, copy) SelectVehicleCommentItemBlock selectVehicleCommentItemBlock;
@property (nonatomic, copy) SelectStationCommentItemBlock selectStationCommentItemBlock;
@end
